package me.zhengjie.modules.member.vo;


import lombok.Data;
import me.zhengjie.annotation.excel.ExcelVOCheckFormat;
import me.zhengjie.annotation.excel.ExcelVOImportAttribute;

import java.util.Date;

/**
 * Created by IDEA.
 *
 * @auther Zym.
 * @company vcfilm
 * @date 2019/4/3 19:35
 */

@Data
public class MemberExcelVo {
    @ExcelVOImportAttribute(name = "手机号", column = "A")
    @ExcelVOCheckFormat(length = 15, isPhone = true, isRequire = true)
    private String mobilePhone;

    @ExcelVOImportAttribute(name = "会员名", column = "B")
    @ExcelVOCheckFormat(length = 50, isRequire = true)
    private String name;

    @ExcelVOImportAttribute(name = "注册时间", column = "C")
    private Date registerTime;

    @ExcelVOImportAttribute(name = "最后登录时间", column = "D")
    private Date lastLoginTime;

    @ExcelVOImportAttribute(name = "微信openid", column = "E")
    private String openid;

    @ExcelVOImportAttribute(name = "会员城市名", column = "F")
    private String memberCityName;
}
